<!DOCTYPE html>
<html >
<head>
    <meta charset="utf-8">
    <title>计算属性和侦听器</title>
    <script src="https://cdn.staticfile.org/vue/2.4.2/vue.min.js"></script>
</head>
<body>
<div id="app">
    {{ name }}
</div>
<script type="text/javascript">
    var vm = new Vue({
        el: '#app',
        data: {
            name: "luchao",
            age: 18
        }
    })
</script>
</body>
</html>
